## Script (Python) "getFuncaoList"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=sigla=None
##title= Lista de funções a que o usuário pertence
##
from Products.CMFCore.utils import getToolByName

portal_properties = getToolByName(context, 'portal_properties')
sigfs_properties = portal_properties.portal_sigfs_properties
result = []

vocabulary = sigfs_properties.funcao
return vocabulary

